<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<ui:composition template="templates/template.xhtml">

	<ui:define name="title">
	 	E-Filing System Reports Page
	</ui:define>
	<ui:param name="page" value="home" />
	<ui:define name="header">
		<ui:include src="header.xhtml" />
	</ui:define>

	<ui:define name="menu">
		<div align="center"><h:form id="mennuForm">
			<h:message for="mennuForm" class="error" />
			<br />
			<br />
			<h:commandButton value="Back" action="#{courtCalendarReportPage.back}" styleClass="buttonClass" />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
		</h:form></div>
	</ui:define>

	<ui:define name="body">
		<h:form>
			<h:panelGrid columns="1" styleClass="bodypanel">
				<h:outputLabel value="Parameters for Report Generation"
					styleClass="textFont200" />
				<h:panelGroup>
					<h:outputLabel value="Start Court Date: " styleClass="fontsubhead" />
					<br />
					<h:outputLabel value="#{courtCalendarReportPage.startCourtDate}"
						styleClass="fontdate" />
					<br />
				</h:panelGroup>
				<h:panelGroup>
					<h:outputLabel value="Start Court Date: " styleClass="fontsubhead" />
					<br />
					<h:panelGroup>
						<t:inputCalendar id="startCourtDate"
							monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
							currentDayCellClass="currentDayCell"
							value="#{courtCalendarReportPage.startCourtDate}"
							renderAsPopup="true" renderPopupButtonAsImage="true" />
					</h:panelGroup>
				</h:panelGroup>
				<h:panelGroup>
					<h:outputLabel value="End Court Date: " styleClass="fontsubhead" />
					<br />
					<h:panelGroup>
						<t:inputCalendar id="endCourtDate"
							monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
							currentDayCellClass="currentDayCell"
							value="#{courtCalendarReportPage.endCourtDate}"
							renderAsPopup="true" renderPopupButtonAsImage="true" />
					</h:panelGroup>
				</h:panelGroup>
				<h:panelGroup>
				<br />
					<h:outputLabel value="Report Output Format Type: "
						styleClass="fontsubhead" />
					<br />
					<h:panelGroup>
						<h:selectOneMenu id="reportFormatType" size="1"
							value="#{courtCalendarReportPage.reportFormatType}"
							binding="#{courtCalendarReportPage.reportFormatTypeInput}">
							<f:selectItems id="selectItem"
								value="#{courtCalendarReportPage.reportFormatTypeDescriptionItems}" />
						</h:selectOneMenu>
					</h:panelGroup>
				</h:panelGroup>
				<h:panelGroup>
				<br />
			<h:commandButton value="Generate Report" 	action="#{courtCalendarReportPage.generateReport}" />	  
				</h:panelGroup>
			</h:panelGrid>
		</h:form>
	</ui:define>

</ui:composition>

</html>